package com.material.pound.mapper;

import java.util.List;
import com.material.pound.domain.FuelPoundIncentive;

/**
 * 磅单奖惩记录Mapper接口
 * 
 * @author ruoyi
 * @date 2025-06-20
 */
public interface FuelPoundIncentiveMapper 
{
    /**
     * 查询磅单奖惩记录
     * 
     * @param id 磅单奖惩记录主键
     * @return 磅单奖惩记录
     */
    public FuelPoundIncentive selectFuelPoundIncentiveById(Long id);

    /**
     * 查询磅单奖惩记录列表
     * 
     * @param fuelPoundIncentive 磅单奖惩记录
     * @return 磅单奖惩记录集合
     */
    public List<FuelPoundIncentive> selectFuelPoundIncentiveList(FuelPoundIncentive fuelPoundIncentive);

    /**
     * 新增磅单奖惩记录
     * 
     * @param fuelPoundIncentive 磅单奖惩记录
     * @return 结果
     */
    public int insertFuelPoundIncentive(FuelPoundIncentive fuelPoundIncentive);

    /**
     * 修改磅单奖惩记录
     * 
     * @param fuelPoundIncentive 磅单奖惩记录
     * @return 结果
     */
    public int updateFuelPoundIncentive(FuelPoundIncentive fuelPoundIncentive);

    /**
     * 删除磅单奖惩记录
     * 
     * @param id 磅单奖惩记录主键
     * @return 结果
     */
    public int deleteFuelPoundIncentiveById(Long id);

    /**
     * 批量删除磅单奖惩记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteFuelPoundIncentiveByIds(Long[] ids);

    /**
     * 批量插入
     * @param incentives
     * @return
     */
    int batchInsertFuelPoundIncentive(List<FuelPoundIncentive> incentives);
}
